Leadtools.Dicom.AddIn Namespace > ThreadSafeDictionary<TKey,TValue> Class > Add Method : Add(KeyValuePair<TKey,TValue>) Method |
public virtual void Add( KeyValuePair<TKey,TValue> item )
'Declaration Public Overloads Overridable Sub Add( _ ByVal item As KeyValuePair(Of TKey,TValue) _ )
'Usage Dim instance As ThreadSafeDictionary(Of TKey,TValue) Dim item As KeyValuePair(Of TKey,TValue) instance.Add(item)
public virtual void Add( KeyValuePair<TKey,TValue> item )
function Leadtools.Dicom.AddIn.ThreadSafeDictionary.Add(KeyValuePair{`0,`1})( item )
public: virtual void Add( KeyValuePair<TKey^,TValue^> item )
Exception | Description |
---|---|
System.NotSupportedException | The ICollection is read-only. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2